From 2340317161c91f68d64c9fd2777e4cbd47b80771 Mon Sep 17 00:00:00 2001 From: Dominique Belhachemi Date: Tue, 30 Sep 2025 12:35:21 -0400 Subject: [PATCH] fix ppc64 ftbfs --- debian/changelog | 7 +++++++ debian/patches/80_fix_ppc64_ftbfs.patch | 16 ++++++++++++++++ debian/patches/series | 1 + 3 files changed, 24 insertions(+) create mode 100644 debian/patches/80_fix_ppc64_ftbfs.patch diff --git a/debian/changelog b/debian/changelog index d2fc4fa01..684cd17eb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +vtk9 (9.5.2+dfsg2-1~exp3) UNRELEASED; urgency=medium + + * Team upload + * Add PPC64 patch + + -- Dominique Belhachemi Tue, 30 Sep 2025 12:20:57 -0400 + vtk9 (9.5.2+dfsg2-1~exp2) experimental; urgency=medium * Team upload diff --git a/debian/patches/80_fix_ppc64_ftbfs.patch b/debian/patches/80_fix_ppc64_ftbfs.patch new file mode 100644 index 000000000..77c7d63ce --- /dev/null +++ b/debian/patches/80_fix_ppc64_ftbfs.patch @@ -0,0 +1,16 @@ +Description: Fix FTBFS on PPC64: inlining failed in call to ‘always_inline’ +Author: Dominique Belhachemi +Forwarded: no +Last-Update: 2025-09-30 + +--- vtk9.orig/Common/Core/vtkDataArrayMeta.h ++++ vtk9/Common/Core/vtkDataArrayMeta.h +@@ -32,7 +32,7 @@ + #endif + + #if (defined(VTK_ALWAYS_OPTIMIZE_ARRAY_ITERATORS) || !defined(VTK_DEBUG_RANGE_ITERATORS)) && \ +- !defined(VTK_COMPILER_MSVC) ++ !defined(VTK_COMPILER_MSVC) && !defined(__PPC64__) + #define VTK_ITER_INLINE VTK_ALWAYS_INLINE + #define VTK_ITER_ASSUME VTK_ASSUME_NO_ASSERT + #define VTK_ITER_OPTIMIZE_START VTK_ALWAYS_OPTIMIZE_START diff --git a/debian/patches/series b/debian/patches/series index 4e427241e..1cd5fcbf3 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -4,6 +4,7 @@ 40_viskores.patch 50_fix_python-modules_path.patch 60_fix_path_perl.patch +80_fix_ppc64_ftbfs.patch 84_vtkQWidgetTexture_no_vtkOpenGLCheckErrorMacro.patch 97_reproducible_builds.patch 98_fix_mpi4py.py -- 2.30.2